#ifndef __GENUUDI_H_
#define __GENUUDI_H_

/*
 产生不同的uuid，后面移植真正的uuid
 线程安全
*/

#include <iostream>
#include <stdio.h>
#include <mutex> 
#include <unistd.h>

using namespace std;

class CGenuuid
{
   public:
      CGenuuid();
      ~CGenuuid();
      CGenuuid *GetIntance();
      
      int Genuuid();
   
   private:
      CGenuuid *m_genuuid;
      int m_uuid;
      mutex m_mutex;
};





#endif